<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:include="layout/header">
</head>
<body>
	<input id="type" type="hidden" th:value="${type}" />
	<div id="fakeLoader"></div>
	<section class="content-header" th:if="${type=='myTranList'}">
		<h3>双向转诊</h3>
		<ol class="breadcrumb">
			<li><i class="fa fa-home"></i>首页</li>
			<li>双向转诊</li>
			<li class="active">转诊审核</li>
		</ol>
	</section>
	<!-- Main content -->
	<section class="content">
		<div class="box">
			<div class="box-header">
				<h3 class="box-title">转诊审核</h3>
			</div>
			<!-- /.box-header -->
			<div class="box-body">
				<div class="nav-tabs-custom">
					<ul class="nav nav-tabs">
						<li class="active"><a href="#tab_unfinish" data-toggle="tab">待审核列表</a></li>
					</ul>
					<div class="tab-content">
						<!-- 待办列表 -->
						<div id="tab_unfinish" class="tab-pane active">
							<!-- 查询条件 start -->
							<form id="agreeForm" class="form-horizontal">
								<div class="form-group">
									<label for="patient_name" class="col-md-2 control-label">患者名称：
									</label>
									<div class="col-md-2">
										<input id="patient_name" class="form-control" type="text"
											name="patient_name" bindname="patient_name" />
									</div>
									<label for="idnumber" class="col-md-2 control-label">身份证号：
									</label>
									<div class="col-md-2">
										<input id="idnumber" class="form-control" type="text"
											name="idnumber" bindname="idnumber" />
									</div>
									<label for="transfer_type" class="col-md-2 control-label">转诊类型：
									</label>
									<div class="col-md-2">
										<select id="transfer_type" name="transfer_type" bindname="transfer_type"></select>
									</div>
								</div>
								<div class="form-group">
									<label class="col-md-2 control-label"></label>
									<div class="col-md-6">
										
									</div>
									<div class="col-md-4">
										<button id="queryBtn" type="button"
											class="btn btn-warning pull-right w100">
											<i class="fa fa-search"></i>查询
										</button>
										<button id="unagreeBtn" type="button"
											class="btn btn-info pull-right mr30">
											不通过
										</button>
										<button id="agreeBtn" type="button"
											class="btn btn-info pull-right mr30">
											通过
										</button>
									</div>
								</div>
							</form>
							<!-- 查询条件 end -->
							<table data-class="table table-bordered" id="agreeTable"
								data-striped="true" data-pagination="true"
								data-side-pagination="server" data-page-size="10"
								data-page-list="[10, 20]">
								<thead>
									<tr class="dataStore_title">
										<th data-field="state" data-radio="true" data-align="left" data-valign="middle"></th>
										<th data-field="patient_name" data-align="left" data-valign="middle" data-width="10%">患者姓名</th>
										<th data-field="idnumber" data-align="left" data-valign="middle" data-width="10%">身份证号</th>
										<th data-field="hospital_name" data-align="left" data-valign="middle" data-width="10%">指定医院</th>
										<th data-field="department_name" data-align="left" data-valign="middle" data-width="10%">指定科室</th>
										<th data-field="user_name" data-align="left" data-width="10%" data-valign="middle">申请医生</th>
										<th data-field="apply_time" data-align="left" data-width="10%" data-valign="middle" data-formatter="dateFormatter">申请日期</th>
										<th data-field="operation" data-align="center"
										data-valign="middle" data-formatter="operateFormatter"
										data-events="operateEvents" data-width="15%"><div>操&nbsp;作</div></th>
									</tr>
								</thead>
							</table>
						</div>
					</div>
				</div>
			</div>
			<!-- /.box-body -->
		</div>
		<!-- /.box -->
	</section>
	<div th:include="layout/footer"></div>
	<script th:if="${projectModel=='dev'}" th:src="@{/static/js/business/transfer/myAgree.js(v=${#dates.createNow().getTime()})}"></script>
	<script th:if="${projectModel=='product'}" th:src="@{/static/js/business/transfer/myAgree.js}"></script>
</body>
</html>